package com.example.springioc.demo4;

import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Hua YY
 * Date: 2024-11-19
 * Time: 12:10
 */
@Component
@Data
public class D4UserInfo {
    private String name;
    private Integer age;

    public D4UserInfo(String name, int age) {
    this.name = name;
    this.age = age;
    }
}
